<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: /HElib/src/OptimizePermutations.cpp File Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">OptimizePermutations.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;cstdlib&gt;</code><br />
<code>#include &lt;list&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;NTL/vector.h&gt;</code><br />
<code>#include &lt;<a class="el" href="_numb_th_8h_source.html">helib/NumbTh.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_encrypted_array_8h_source.html">helib/EncryptedArray.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="permutations_8h_source.html">helib/permutations.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="api_attributes_8h_source.html">helib/apiAttributes.h</a>&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacehelib"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html">helib</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a048eb699c3e26a99ac2198bcc984ac75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a048eb699c3e26a99ac2198bcc984ac75">helib::removeDups</a> (std::list&lt; long &gt; &amp;x, bool *aux)</td></tr>
<tr class="separator:a048eb699c3e26a99ac2198bcc984ac75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bcb58c007d8e3cb2a1b4c7d0c162895"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a6bcb58c007d8e3cb2a1b4c7d0c162895">helib::addOffset</a> (std::list&lt; long &gt; &amp;x, long offset, long n, bool *aux, <a class="el" href="api_attributes_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a> bool good=false)</td></tr>
<tr class="separator:a6bcb58c007d8e3cb2a1b4c7d0c162895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e4662264ee1fcd34eb7ff13d6bbf008"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a8e4662264ee1fcd34eb7ff13d6bbf008">helib::reducedCount</a> (const std::list&lt; long &gt; &amp;x, long n, bool *aux)</td></tr>
<tr class="separator:a8e4662264ee1fcd34eb7ff13d6bbf008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7534536bd1101ec60aa4c8fe1ccdf30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#aa7534536bd1101ec60aa4c8fe1ccdf30">helib::buildBenesCostTable</a> (long n, long k, bool good, NTL::Vec&lt; NTL::Vec&lt; long &gt;&gt; &amp;tab)</td></tr>
<tr class="separator:aa7534536bd1101ec60aa4c8fe1ccdf30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1924de36f81ef4338bb2526dd03bfe97"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a1924de36f81ef4338bb2526dd03bfe97">helib::operator&lt;&lt;</a> (std::ostream &amp;s, LongNodePtr p)</td></tr>
<tr class="separator:a1924de36f81ef4338bb2526dd03bfe97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a188c595f95739f28a8eaffd5fcc55ffd"><td class="memItemLeft" align="right" valign="top">BenesMemoEntry&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a188c595f95739f28a8eaffd5fcc55ffd">helib::optimalBenesAux</a> (long i, long budget, long nlev, const NTL::Vec&lt; NTL::Vec&lt; long &gt;&gt; &amp;costTab, BenesMemoTable &amp;memoTab)</td></tr>
<tr class="separator:a188c595f95739f28a8eaffd5fcc55ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab80751b68918a0cba13cb9bab3da12ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#ab80751b68918a0cba13cb9bab3da12ed">helib::optimalBenes</a> (long n, long budget, bool good, long &amp;cost, LongNodePtr &amp;solution)</td></tr>
<tr class="separator:ab80751b68918a0cba13cb9bab3da12ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b924cfad7a9d34755b6175d88a6a207"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a7b924cfad7a9d34755b6175d88a6a207">helib::print</a> (std::ostream &amp;s, SplitNodePtr p, bool first)</td></tr>
<tr class="separator:a7b924cfad7a9d34755b6175d88a6a207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8407900faf89358e471aef0bdb902da8"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a8407900faf89358e471aef0bdb902da8">helib::operator&lt;&lt;</a> (std::ostream &amp;s, SplitNodePtr p)</td></tr>
<tr class="separator:a8407900faf89358e471aef0bdb902da8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5bd3c856c7b75630a3fee625848debf"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#ac5bd3c856c7b75630a3fee625848debf">helib::length</a> (GenNodePtr ptr)</td></tr>
<tr class="separator:ac5bd3c856c7b75630a3fee625848debf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd38c901ef879aa74f5070cdd2b38790"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#acd38c901ef879aa74f5070cdd2b38790">helib::operator&lt;&lt;</a> (std::ostream &amp;s, GenNodePtr p)</td></tr>
<tr class="separator:acd38c901ef879aa74f5070cdd2b38790"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05a4b7e9cb04f6760740db3d4dc3186d"><td class="memItemLeft" align="right" valign="top">LowerMemoEntry&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a05a4b7e9cb04f6760740db3d4dc3186d">helib::optimalLower</a> (long order, bool good, long budget, long mid, LowerMemoTable &amp;lowerMemoTable)</td></tr>
<tr class="separator:a05a4b7e9cb04f6760740db3d4dc3186d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b9b2fbc501abb90f6400679ee15f9aa"><td class="memItemLeft" align="right" valign="top">UpperMemoEntry&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehelib.html#a6b9b2fbc501abb90f6400679ee15f9aa">helib::optimalUpperAux</a> (const NTL::Vec&lt; GenDescriptor &gt; &amp;vec, long i, long budget, long mid, UpperMemoTable &amp;upperMemoTable, LowerMemoTable &amp;lowerMemoTable)</td></tr>
<tr class="separator:a6b9b2fbc501abb90f6400679ee15f9aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
